package com.hairline.service;

import com.hairline.bean.Order;
import com.hairline.bean.vo.WxOrderGoodsVo;
import com.hairline.bean.vo.WxOrderInfolVO;
import com.hairline.bean.vo.WxOrderListVo;

import java.util.HashMap;
import java.util.List;

public interface WxOrderService {


    List<Order> selectOrders(Integer showType, Integer page, Integer size);

    List<WxOrderListVo> selectOrderGoods(List<Order> orderList,Integer showType);

    int countOrder();

    WxOrderInfolVO selectOrderById(Integer orderId);

    List<WxOrderGoodsVo> selectOrderGoodsByOrderId(Integer orderId);

    boolean updateOrderStatusById(Integer orderId,Integer newOrderSatus);

    boolean deleteOrderById(Integer orderId);

    List<WxOrderGoodsVo> selectOrderGoodsByOrderIdAndGoodsId(Integer orderId, Integer goodsId);

    boolean commentOrderGoodsById(HashMap<String, Object> map);

}
